package scau.erps.entity;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

/** 
 * 生产线实体类
 * @author outsider
 *  
 *  */
@Table("LINE")
public class Line implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	@Column
	@Id 
	private int id;  
	@Column
	private int team_Id;
	@Column
	private int lineNo;     //标记生产线归属厂房 1~4:大厂房 5~7:中厂房 8:小厂房
	@Column
	private String product;  //生产线当前生产产品类型 Beryl、Crystal、Ruby、Sapphire
	@Column
	private String type;     //生产线类型 手工线、半自动、全自动、柔性
	@Column
	private String investTime;//购买生产线日期
	@Column
	private int value;  //当前价值 初始等于购买价值 于生产后开始逐年扣去折旧 直至等于残值
	@Column
	private String status; //状态 空置—>在建—>全新—>转产—>生产—>空闲
	@Column
	private String switchTime; //记录转产生产线完成转产时间
	@Column
	private int isNew; //记录该生产线是否为全新 1表示全新 0表示生产过
	public Line() {
		super();
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getTeam_Id() {
		return team_Id;
	}
	public void setTeam_Id(int team_Id) {
		this.team_Id = team_Id;
	}
	public int getLineNo() {
		return lineNo;
	}
	public void setLineNo(int lineNo) {
		this.lineNo = lineNo;
	}
	public String getProduct() {
		return product;
	}
	public void setProduct(String product) {
		this.product = product;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getInvestTime() {
		return investTime;
	}
	public void setInvestTime(String investTime) {
		this.investTime = investTime;
	}
	public int getValue() {
		return value;
	}
	public void setValue(int value) {
		this.value = value;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getSwitchTime() {
		return switchTime;
	}
	public void setSwitchTime(String transTime) {
		this.switchTime = transTime;
	}
	public int getIsNew() {
		return isNew;
	}
	public void setIsNew(int isNew) {
		this.isNew = isNew;
	}

	
	
}
